package com.mf.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Luke on 2025/3/7 16:03.
 */
@Data
@TableName("sys_dic")
@Accessors(chain = true)
public class DtoDic implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String dicCode; //字典类型
    private String dicValue;//字典编码
    private String paramMark;//字典说明
    private Integer pid; //父级ID
    private Integer showOrder;//排序
    private Integer flagSystem;//是否系统字典,0否,1是(用户级无法删除或编辑)
    private Integer status; //状态,0启用,1禁用
    private String remark;
    private String douser;
    private Date dotime;
    private Date uptime;

    @TableField(exist = false)
    private Long catalogId;

}
